package com.nq.activaity.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: st_mbr_lottery_prize
 * @Author: jeecg-boot
 * @Date:   2024-11-05
 * @Version: V1.0
 */
@Data
@TableName("st_mbr_lottery_prize")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class StMbrLotteryPrize implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    private Integer id;
	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    private Integer userId;
	@Excel(name = "用户昵称", width = 15)
    private String userNick;
	/**奖品ID*/
	@Excel(name = "奖品ID", width = 15)
    private String prizeId;
	/**是否是奖品　０　不是　１　是*/
	@Excel(name = "是否是奖品　０　不是　１　是", width = 15)
    private Integer isPrize;
	@Excel(name = "是否指定中奖品　０　不是　１　是", width = 15)
    private Integer isSpecified;
	/**状态*/
	@Excel(name = "状态", width = 15)
    private Integer status;
	/**奖品类型*/
	@Excel(name = "奖品类型", width = 15)
    private String prizeType;
	/**奖品标题*/
	@Excel(name = "奖品标题", width = 15)
    private String prizeTitle;
	/**奖品图片*/
	@Excel(name = "奖品图片", width = 15)
    private String prizePic;
	/**奖品描述*/
	@Excel(name = "奖品描述", width = 15)
    private String prizeDesc;
	/**创建时间*/
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;
	/**中奖类型*/
	@Excel(name = "中奖类型", width = 15)
    private String receiveChannel;
	/**中奖时间*/
	@Excel(name = "中奖时间", width = 15, format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date receiveTime;
}
